package spring.cloud.service.task.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import spring.cloud.service.task.dto.StatisticsDto;

@Repository
public interface StatisticsDtoMapper {
    int insert(StatisticsDto statisticsDto);

    int update(StatisticsDto statisticsDto);

    int delete(Integer id);

    StatisticsDto select(Integer id);

    StatisticsDto findStatisticsByNameAndAddressList(@Param("addressList") String addressList, @Param("type") String type);

}